Actions After Add, Edit, Save

Redirect to Another Page when Show or Edit Record Page Cannot Retrieve Data

Code Customization
Redirect to Another Page when Show or Edit Record Page Cannot Retrieve Data
Description:

This customization redirects to another page when a Show or Edit Record page cannot retrieve data. This occurs when no record exists in the database with the requested primary key. 

For a Web Application the customization will be added in:

..\<Application Name>\<Table Name>\Show<Table Name>.Controls.vb

For example: C:\MyApp1\Customers\ShowCustomers.Controls.vb


For a Web Site the customization will be added in:

..\<Application Name>\App_Code\<Table Name>\Show<Table Name>.Controls.vb

For example: C:\MyApp1\App_Code\Customers\ShowCustomers.Controls.vb

Procedure:

Step 1:  Use this wizard to add code customization.

Step 2:  Build and run the application.

Applies To:

This customization only applies to pages with record controls.

Disclaimer:
Customizations included in this wizard are provided as a sample to demonstrate a feature, and may work only in specific situations. The Iron Speed Designer support team cannot assist in the resolution of problems which may occur as a result of customizing your application or modifying a customization to fit a particular purpose.

Terms of Service Privacy Statement